package com.yg.item.pojo;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 剧场表
 * </p>
 *
 * @author 魏成龙
 * @since 2020-11-07
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("yg_cinema")
public class Cinema implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 剧场名称
     */
    private String name;

    /**
     * 剧场地址
     */
    private String address;

    /**
     * 区域ID
     */
    @TableField("areaId")
    private Long areaId;

    /**
     * 区域名称
     */
    @TableField("areaName")
    private String areaName;

    /**
     * X轴座位长度
     */
    @TableField("xLength")
    private Integer xLength;

    /**
     * Y轴座位长度
     */
    @TableField("yLength")
    private Integer yLength;

    /**
     * 纬度
     */
    private String latitude;

    /**
     * 经度
     */
    private String longitude;

    /**
     * 创建时间
     */
    @TableField("createdTime")
    private LocalDateTime createdTime;

    /**
     * 更新时间
     */
    @TableField("updatedTime")
    private LocalDateTime updatedTime;


}
